﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SpecialMedicalLeave.aspx.cs" Inherits="SMSSnew.UI.teacher.SpecialMedical" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link href="../../css/StyleSheet.css" rel="stylesheet" type="text/css" />
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <div class="container">
        <form id="form1" class="well span11 text-center" runat="server">
        <p align="left">
            <table width="100%">
                <tr>
                    <td align="left" colspan="4">
                        <asp:ImageButton ID="imgBtnBack" runat="server" ImageUrl="~/IMAGES/back.png" OnClick="imgBtnBack_Click"
                            ToolTip="Back" />
                    </td>
                    <td align="right">
                        <asp:LinkButton ID="lnkBtnLogout" runat="server" PostBackUrl="~/UI/Login.aspx" 
                            Font-Underline="True" onclick="lnkBtnLogout_Click"><h5>Logout</h5></asp:LinkButton>
                    </td>
                </tr>
            </table>
        </p>
        <div>
            <table width="100%" class="table container text-left">
                <tr>
                    <th colspan="4" class="style1">
                        <asp:Label ID="lblTitle" runat="server" Text="Special Medical Leave Application Form : "
                            CssClass="text-info"></asp:Label>
                    </th>
                </tr>
                <tr>
                    <td colspan="4">
                        <div style="background-color: #3a87ad">
                            <table width="100%">
                                <tr>
                                    <td colspan="2">
                                        <asp:Label ID="lblColMedical" runat="server" Text="Medical Leaves" ForeColor="White"
                                            Font-Bold="True" Font-Size="Medium"></asp:Label>
                                    &nbsp;<asp:Label ID="lblYearCurrent" runat="server" Text="2013" ForeColor="White"
                                            Font-Bold="True" Font-Size="Medium"></asp:Label></td>
                                    <td colspan="2">
                                        <asp:Label ID="lblColCasual" runat="server" Text="Medical Leaves" ForeColor="White"
                                            Font-Bold="True" Font-Size="Medium"></asp:Label>
                                    &nbsp;<asp:Label ID="lblYearBeforeOne" runat="server" Text="2012" ForeColor="White"
                                            Font-Bold="True" Font-Size="Medium"></asp:Label></td>
                                    <td>
                                        <asp:Label ID="lblColDuty" runat="server" Text="Medical Leaves" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    &nbsp;<asp:Label ID="lblYearBeforeTwo" runat="server" Text="2011" ForeColor="White"
                                            Font-Bold="True" Font-Size="Medium"></asp:Label></td>
                                    
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lbl1" runat="server" Text="Available" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lbl2" runat="server" Text="Pending" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td colspan="2">
                                        <asp:Label ID="lbl3" runat="server" Text="Available" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                     <td colspan="2">
                                        <asp:Label ID="Label1" runat="server" Text="Available" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                     
                                   
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblAvailMedicalCurrent" runat="server" Text="10" 
                                            ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPendMedicalCurrent" runat="server" Text="10" 
                                            ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td colspan="2">
                                        <asp:Label ID="lblAvailMedicalBeforeOne" runat="server" Text="10" 
                                            ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                     
                                    <td>
                                        <asp:Label ID="lblAvailMedicalBeforeTwo" runat="server" Text="10" 
                                            ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                     
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <p align="center">
                            <strong>
                        Request New
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <p align="center">
                            <asp:DropDownList ID="comLeaveType" runat="server"
                                AutoPostBack="True">
                                <asp:ListItem>Medical Leaves</asp:ListItem>
                            </asp:DropDownList>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <div style="background-color: #3a87ad">
                            <table width="100%">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblSelectDate" runat="server" Font-Bold="True" Font-Size="Medium"
                                            ForeColor="White" Text="Select only From date and To date"></asp:Label>
                                    </td>
                                    <td>
                                        <telerik:RadCalendar ID="radDpFrom" runat="server" Font-Names="Arial, Verdana, Tahoma"
                                            ForeColor="Black" Skin="WebBlue" Style="border-color: #ececec" AutoPostBack="True"
                                            OnDayRender="radDpFrom_DayRender" 
                                            OnHeaderCellRender="radDpFrom_HeaderCellRender" SelectedDate="" 
                                            onselectionchanged="radDpFrom_SelectionChanged" ShowRowHeaders="False">
                                           
                                        </telerik:RadCalendar>
                                    </td>
                                    <td>
                                        &nbsp;
                                        </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblreason" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="White"
                                            Text="Reason"></asp:Label>
                                    </td>
                                    <td colspan="3">
                                        <asp:TextBox ID="txtReason" runat="server" class="span7" Height="47px" TextMode="MultiLine"></asp:TextBox>
                                    </td>
                                </tr>
                                 <tr>
                                    <td>
                                        <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="White"
                                            Text="Mention Requesting Dates from Previous Years"></asp:Label>
                                    </td>
                                     <td colspan="3">
                                         <asp:Label ID="lblYearCurrentReq" runat="server" Text="2013 : " 
                                             Font-Bold="True" Font-Size="Medium" ForeColor="White"></asp:Label>
                                         <telerik:RadNumericTextBox ID="RadNumericCurrent" runat="server" Skin="WebBlue">
                                             <NumberFormat AllowRounding="True" DecimalDigits="0"></NumberFormat>
                                         </telerik:RadNumericTextBox>
                                         </br>
                                         <asp:Label ID="lblYearBeforeOneReq" runat="server" Text="2012 : " 
                                             Font-Bold="True" Font-Size="Medium" ForeColor="White"></asp:Label>
                                         <telerik:RadNumericTextBox ID="RadNumericBeforeOne" runat="server" Skin="WebBlue">
                                             <NumberFormat AllowRounding="True" DecimalDigits="0"></NumberFormat>
                                         </telerik:RadNumericTextBox>
                                         </br>
                                         <asp:Label ID="lblYearBeforeTwoReq" runat="server" Text="2011 : " 
                                             Font-Bold="True" Font-Size="Medium" ForeColor="White"></asp:Label>
                                         <telerik:RadNumericTextBox ID="RadNumericBeforeTwo" runat="server" Skin="WebBlue">
                                             <NumberFormat AllowRounding="True" DecimalDigits="0"></NumberFormat>
                                         </telerik:RadNumericTextBox>
                                     </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="White"
                                            Text="No Pay Leaves Requesting"></asp:Label>
                                    </td>
                                    <td colspan="3">
                                         <telerik:RadNumericTextBox ID="RadNumericNopay" runat="server" 
                                            Skin="WebBlue">
                                             <NumberFormat AllowRounding="True" DecimalDigits="0"></NumberFormat>
                                         </telerik:RadNumericTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="White"
                                            Text="Attach Medical Certificate"></asp:Label>
                                    </td>
                                    <td colspan="3">
                                        <asp:FileUpload ID="FileUploadMdical" runat="server" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <p align="right">
                            <asp:LinkButton ID="lnkButSummary" runat="server" onclick="lnkButSummary_Click">View Summary</asp:LinkButton>
                            <asp:Button ID="butSubmit" runat="server" class="btn btn-primary" OnClick="butSubmit_Click"
                                Text="Submit" /></p>
                    </td>
                </tr>
            </table>
        </div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        </form>
    </div>
</body>
</html>
